Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: support slowing down tests to enable debugging consequences #21

Merged
merged 1 commit into from
Jun 17, 2024

Conversation

arikkfir
Copy link
Owner

This change introduces a supported environment variable called JUSTEST_SLOW_FACTOR which, when set to an integer value, will cause Justest to multiple durations passed to the For(...) and Within(...) methods with its value.

This will cause these duration to be longer, thus allowing the developer to investigate or debug side consequences of such tests - like logging into clusters and checking the effects of end-to-end tests, inspecting file-systems, etc.

This change introduces a supported environment variable called
`JUSTEST_SLOW_FACTOR` which, when set to an integer value, will cause
Justest to multiple durations passed to the `For(...)` and `Within(...)`
methods with its value. This will cause these duration to be longer,
thus allowing the developer to investigate or debug side consequences of
such tests - like logging into clusters and checking the effects of
end-to-end tests, inspecting file-systems, etc.
@arikkfir arikkfir self-assigned this Jun 17, 2024
@arikkfir arikkfir added the feature New features and functionality label Jun 17, 2024
@arikkfir arikkfir merged commit d2a271c into main Jun 17, 2024
5 checks passed
@arikkfir arikkfir deleted the arikkfir/feat/support-test-slowdown branch June 17, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New features and functionality
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant